projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc3df2d
)
assist: fix bug committing just added file when -J is used
author
Joey Hess
<joeyh@joeyh.name>
Thu, 18 May 2023 19:02:10 +0000
(15:02 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Thu, 18 May 2023 19:02:10 +0000
(15:02 -0400)
Need to wait for worker threads adding files before flushing the queue.
Command/Assist.hs
patch
|
blob
|
history
diff --git
a/Command/Assist.hs
b/Command/Assist.hs
index de26d6c87a5b368e53516e5bb2bfbadacab183c8..6075b63ceabfe20f337c11866e2475d2f32c949f 100644
(file)
--- a/
Command/Assist.hs
+++ b/
Command/Assist.hs
@@
-33,6
+33,7
@@
myseek o = startConcurrency transferStages $ do
, Command.Add.checkGitIgnoreOption = CheckGitIgnore (False)
, Command.Add.dryRunOption = DryRun False
}
+ waitForAllRunningCommandActions
-- Flush added files to index so they will be committed.
Annex.Queue.flush